package com.ruoyi.project.distribute.service.impl;

import com.ruoyi.project.distribute.domain.ProvideDrug;
import com.ruoyi.project.distribute.mapper.ProvideDrugMapper;
import com.ruoyi.project.distribute.service.IProvideDrugService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author anran
 */
@Service
public class ProvideDrugServiceImpl implements IProvideDrugService
{
    @Autowired
    private ProvideDrugMapper provideDrugMapper;

    @Override
    public List<ProvideDrug> selectProvideDrugList(Long provideId)
    {
        List<ProvideDrug> provideDrugs = provideDrugMapper.selectProvideDrugList(provideId);
        System.out.println(provideDrugs);
        return provideDrugMapper.selectProvideDrugList(provideId);
    }
}
